
#include <gui/mainwindow.h>
#include <gui/renderwidget.h>
#include <ui_mainwindow.h>
#include <QGridLayout>


inka::gui::MainWindow::MainWindow(QWidget *parent)
  : QMainWindow(parent)
  , _gui(new Ui::MainWindow)
{
  _gui->setupUi(this);

  _renderWidget = new RenderWidget(this);
  QGridLayout* layout = new QGridLayout (_gui->centralwidget);
  layout->addWidget(_renderWidget, 0, 0, 1, 1);
}

inka::gui::MainWindow::~MainWindow()
{
  delete _gui;
}
